#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int a = 0;
	int b = 0;
	char c = 0;
	scanf("%d %c %d", &a,&c, &b);
	if (c == '+')
		printf("%d+%d=%d", a, b, a + b);
	else if (c == '-')
		printf("%d-%d=%d", a, b, a - b);
	else if (c == '*')
		printf("%d*%d=%d", a, b, a * b);
	else if (c == '/' && b != 0)
		printf("%d/%d=%d", a, b, a / b);
	else if (c == '%' && b != 0)
		printf("%d%%%d=%d", a, b, a % b);
	else
		printf("ERROR");



	return 0;
}
 